package com.dt.common.response;

/**
 * 响应码枚举
 *
 * @author <a href ='jiaoxuhui@dhcc.com.cn'>焦旭辉</a>
 * @date 2019/7/20
 * @since JDK 1.8
 */
public enum ResponseCodeEnum {

    //成功
    SUCCESS(1),

    //失败
    FAILED(0);

    ResponseCodeEnum(int code) {
        this.code = code;
    }

    private int code;

    public int getCode() {
        return code;
    }


}
